home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / dist / libiberty / functions.def < prev    next >
Encoding:
Text File  |  1992-03-27  |  1.6 KB  |  40 lines

  1. /*
  2.  * List of function definitions that may *optionally* be included
  3.  * in libiberty.a.  The function names must match the filenames,
  4.  * e.g. bzero() is defined in bzero.c.  (While each file can contain
  5.  * extra functions, do not list them.)
  6.  *
  7.  * In the default libiberty configuration, these object files
  8.  * (e.g bzero.o) are included if and only if cc fails to find
  9.  * the corresponding function in libc.  See config/mh-default.
  10.  */
  11.  
  12. DEF(bcmp, int, (s1, s2, length), char *s1 AND char *s2 AND int length )
  13. DEF(bcopy, void, (s1, s2, length), char *s1 AND char *s2 AND int length )
  14. DEF(bzero, void, (s, length), char *s AND int length)
  15. DEF(getopt, int, (argc, argv, optstring),
  16.     int argc AND char **argv AND CONST char *optstring)    
  17. DEF(getpagesize, int , (), )
  18. DEF(getcwd, char*, (buf, len), char *buf AND int len)
  19. DEF(index, char*, (s, c), char *s AND int c)
  20. DEF(insque, void, (), )
  21. DEF(memcmp, int, (s1, s2, length),
  22.     CONST PTR s1 AND CONST PTR s2 AND size_t length)
  23. DEF(memcpy, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)
  24. DEF(memmove, PTR, (s1, s2, length), PTR s1 AND CONST PTR s2 AND size_t length)
  25. DEF(memset, PTR, (s, val, length), PTR s AND int val AND size_t length )
  26. DEF(rindex, char*, (s, c), char *s AND int c)
  27. DEF(strchr, char*, (s, c), CONST char *s AND int c)
  28. DEF(strdup, char*, (s1), char * s1)
  29. DEF(strerror, char*, (), )
  30. DEF(strrchr, char*, (s, c), CONST char *s AND int c)
  31. DEF(strstr, char*, (), )
  32. DEF(strtol, long, (), )
  33. DEF(strtoul, long, (), )
  34. DEF(vfork, int, (), )
  35. DEF(vfprintf, int, (), )
  36. DEF(vprintf, int, (), )
  37. DEF(vsprintf, int, (), )
  38. DEF(sigsetmask, int, (), )
  39. DEF(alloca, PTR, (size), size_t size)
  40.